#include "Model.h"


CModel::CModel(void) : m_nMeshIndex(-1), m_nShaderIndex(-1)
{
	// Give the material some defaults
	m_tMaterialData.m_hParameters = nullptr;
	m_tMaterialData.m_nDiffuseID = -1;
	m_tMaterialData.m_nEmissiveID = -1;
	m_tMaterialData.m_nSpecularID = -1;
	m_tMaterialData.m_nNormalID = -1;
	m_tMaterialData.m_nCubeMapID = -1;
}

CModel::~CModel(void)
{
}

void CModel::SetName(const char* szModelName)
{
	// Sets the name of the model
	strcpy_s(m_szModelName, 32, szModelName);
}